//
//  YQLPictureInfo.swift
//  YQL_WeiBo
//
//  Created by apple on 2016/11/17.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

class YQLPictureInfo: NSObject {
    
    var wap360: String?
    var bimiddleImage: String?
    
    var imageUrl: URL?
    
    //缩略图的地址
    var thumbnail_pic: String? {
        
        didSet {
            bimiddleImage = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "bimiddle")
            wap360 = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "wap360")
            imageUrl = URL(string: wap360 ?? "")
        }
    }

}
